package faircat.android.exphone;

import java.io.IOException;

abstract public class ATConnection {
	abstract public boolean connect() throws IOException;
	abstract public void close();
	abstract public int read(byte[] buffer) throws IOException;
	abstract public boolean write(byte[] buffer) throws IOException;
	abstract public int available() throws IOException;
}
